
import ApiBase from "../../../../api/moudles/ApiBase";


export const init = (self, tiyData) => {

  self.$apiOther.getCountryList({state:0}).then(
    function (response) {
      let list = response.result;
      tiyData.tData.countryList.splice(0,tiyData.tData.countryList.length);
      list.forEach(
        function (item) {
          if(item.state===0){
            tiyData.tData.countryList.push(item);
          }
        }
      );

    }
  );

}


